
/*
 * Karvaly.Inheritance
 * depends: Karvaly
 */
Karvaly.Inheritance = (function() {
    
    var Inheritance = function(proto) {
	if (!arguments.length) {
	    proto = {};
	}
        if (Inheritance.prototype !== proto) {
            Inheritance.prototype = proto;
            return new Inheritance(proto);
        }
        Inheritance.prototype = null;
    };
    
    Inheritance.prototype = null;
    
    return Inheritance;
})();
